package calendar.messages;

import calendar.*;
import edu.gmu.middleware.Message;
import edu.gmu.streams.BlockInputStream;
import edu.gmu.streams.BlockOutputStream;
import java.io.IOException;

/* this class represents a single user */
public class ConnectRequest implements Message
{
  public User user = null;
  public ConnectRequest()
  {
    
  }

  public void marshal(BlockOutputStream stream) throws IOException
  {
    this.user.marshal(stream);
  }
  public void unmarshal(BlockInputStream stream) throws IOException
  {
    this.user = new User();
    this.user.unmarshal(stream);
}
}
